Skip to content

chore(deps): bump github.com/modelcontextprotocol/go-sdk from 1.2.0 to 1.5.0#29

Merged
ysyneu merged 1 commit into
mainfrom
dependabot/go_modules/github.com/modelcontextprotocol/go-sdk-1.5.0
Apr 24, 2026
Merged

chore(deps): bump github.com/modelcontextprotocol/go-sdk from 1.2.0 to 1.5.0#29
ysyneu merged 1 commit into
mainfrom
dependabot/go_modules/github.com/modelcontextprotocol/go-sdk-1.5.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 8, 2026

Bumps github.com/modelcontextprotocol/go-sdk from 1.2.0 to 1.5.0.

Release notes

Sourced from github.com/modelcontextprotocol/go-sdk's releases.

v1.5.0

This release is equivalent to v1.5.0-pre.1. Thank you to those who tested the pre-release.

In this release we introduce important enhancements to the client-side OAuth flows. We also introduce several smaller fixes and improvements.

Stabilization of client-side OAuth APIs

As previously communicated, we're stabilizing the client-side OAuth APIs in v1.5.0. This means that the mcp_go_client_oauth build tag will no longer be required to compile the functionality and standard backward compatibility guarantees apply from now on.

Compared to the experimental support published in v1.4.0, we made some backwards incompatible changes:

  • auth.AuthorizationCodeHandlerConfig.AuthorizationCodeFetcher's type was changed from func(context.Context, *auth.AuthorizationArgs) (*auth.AuthorizationResult, error) to auth.AuthorizationCodeFetcher which is a reusable definition carrying the same underlying function type.
  • auth.AuthorizationCodeHandlerConfig.PreregisteredClientConfig was removed and replaced with auth.AuthorizationCodeHandlerConfig.PreregisteredClient which uses a newly introduced oauthex.ClientCredentials type. The type used previously (auth.PreregisteredClientConfig) has been removed.
  • Deprecated functionality has been removed from both auth and oauthex packages.

Enterprise Managed Authorization support added

Support for Enterprise Managed Authorization has been added to auth/extauth package. Huge thanks to @​radar07 for the implementation!

Note: this support is part of an official MCP extension and is not part of the core protocol. The support of this functionality is not covered by the principles defined in SDK tiers.

Other changes to the SDK

... (truncated)

Commits
  • d3fd25b mcp: use http.ResponseController to ensure writes are flushed (#870)
  • 638d404 all: stabilize client OAuth support (#861)
  • c1a12cf mcp: accept parameterized Accept media types (#853)
  • a1f808c all: modernize code (#868)
  • 74d2751 mcp: return input validation errors as tool results, not JSON-RPC errors (#863)
  • b71a839 all: fix typos (#869)
  • 2d43865 Enterprise managed authorization (#770)
  • 05277f6 oauthex: use internal JSON library for decoding. (#866)
  • 150bca7 mcp: handle empty chunks in MemoryEventStore (#862)
  • 755b9ed mcp: re-enable race test after fixing data races (#851)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 8, 2026
ysyneu added a commit that referenced this pull request Apr 24, 2026
… cache-map (#34)

* chore(ci): bump golangci-lint-action version to v2.4

Pin v2.1 (binary built with Go 1.24) refused to load configs targeting
Go 1.25.0, blocking dependabot PRs #28 and #29 which bump go.mod's go
directive. v2.4 is built with Go 1.25 and lints both 1.24 and 1.25
targets.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix(ci): migrate buildkit-cache-dance v3 inputs (cache-source → cache-map)

v3 deprecated cache-source and now requires explicit cache-map. Without
this, v3 falls back to auto-discovery defaults that try to mkdir
/var/cache/apk on the runner and fail with EACCES, breaking every
Docker Publish run on main since #21 landed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ysyneu
Copy link
Copy Markdown
Collaborator

ysyneu commented Apr 24, 2026

@dependabot rebase

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 24, 2026

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@ysyneu
Copy link
Copy Markdown
Collaborator

ysyneu commented Apr 24, 2026

@dependabot recreate

Bumps [github.com/modelcontextprotocol/go-sdk](https://github.com/modelcontextprotocol/go-sdk) from 1.2.0 to 1.5.0.
- [Release notes](https://github.com/modelcontextprotocol/go-sdk/releases)
- [Commits](modelcontextprotocol/go-sdk@v1.2.0...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/modelcontextprotocol/go-sdk
  dependency-version: 1.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/go_modules/github.com/modelcontextprotocol/go-sdk-1.5.0 branch from 4146e6c to 347218c Compare April 24, 2026 02:25
@ysyneu ysyneu merged commit 41ed7a1 into main Apr 24, 2026
9 checks passed
@dependabot dependabot Bot deleted the dependabot/go_modules/github.com/modelcontextprotocol/go-sdk-1.5.0 branch April 24, 2026 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant